//
//  Operation.h.h
//  Yueba
//
//  Created by Gan LL on 12-10-16.
//
//

#import <Foundation/Foundation.h>

@protocol OperationDelegate <NSObject>
@optional
-(void)processData:(id)data;
@end

@interface Operation : NSOperation
{
    id <OperationDelegate> _delegate;
    id operationData;
}

- (id)initWithData:(id)data delegate:(id<OperationDelegate>)delegate;

@end
